agents.anac.y2011.TheNegotiator
Class Acceptor

java.lang.Object
  extended by agents.anac.y2011.TheNegotiator.Acceptor

public class Acceptor
extends java.lang.Object

The Acceptor class is used to decide when to accept a bid.

Author:
Alex Dirkzwager, Mark Hendrikx, Julian de Ruiter

Constructor Summary
Acceptor(UtilitySpace utilitySpace, BidsCollection bidsCollection)
          Creates an Acceptor-object which determines which offers should be accepted during the negotiation.
 
Method Summary
 Action determineAccept(int phase, double threshold, double time, int movesLeft)
          Determine if it is wise to accept for a given phase on a given time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Acceptor

public Acceptor(UtilitySpace utilitySpace,
                BidsCollection bidsCollection)
Creates an Acceptor-object which determines which offers should be accepted during the negotiation.

Parameters:
utilitySpace -
bidsCollection - of all possible bids (for us) and the partner bids
Method Detail

determineAccept

public Action determineAccept(int phase,
                              double threshold,
                              double time,
                              int movesLeft)
Determine if it is wise to accept for a given phase on a given time.

Parameters:
phase - of the negotiation
minimum - threshold
time - in negotiation
movesLeft - is the estimated moves left
Returns:
move to (not) accept